#ifndef __CPPTUTORLINKEDLISTNEW_H__
#define __CPPTUTORLINKEDLISTNEW_H__

#include <iostream>

using namespace std;

class List
{
    private:
        struct node
        {
            int data;
            node* next;
        };
        typedef struct node* nodePtr;
        nodePtr head;
        nodePtr curr;
        nodePtr temp;
    public:
        List ();
       ~List ();

        void AddNode (int addData);
        void DeleteData (int delData);
        void printList ();
};

#endif //__CPPTUTORLINKEDLISTNEW_H__